import request from '@/utils/request'

export function getAllProjectInfosByConditions(data) {
  return request({
    url: '/getAllProjectInfosByConditions',
    method: 'get',
    params:data
  })
}

export function addProject(data) {
  return request({
    url: '/addProject',
    method: 'post',
    data
  })
}

export function updateProject(data) {
  return request({
    url: '/updateProject',
    method: 'put',
    data
  })
}

export function deleteProjectInfoById(id) {
  return request({
    url: '/deleteProjectInfoById',
    method: 'delete',
    params:id
  })
}


